home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASP Advantage 1994 2nd Q2
/
The Association of Shareware Professionals - The Official ASP Advantage (2nd Quarter)(1994).bin
/
contents
/
lprintm.bat
< prev
next >
Wrap
DOS Batch File
|
1993-08-09
|
1KB
|
42 lines
@echo off
If %1! == ! goto endit
rem The program number is passed in the %1 variable and the RPT filename is
rem passed in the %2 variable.
:doitagain
lprint /P%1 /R%2 /N
echo Press a key to print another or CTRL-BREAK to cancel.
pause >nul
goto doitagain
rem The LPRINT.EXE program pauses before printing to verify that you wish to
rem print a label. This verification is by passed by the command line
rem parameter /N. It is necessary to use the PAUSE command to be able to
rem break out of the batch file.
:endit
cls
echo LPRINTM.BAT - LPRINT multiple copies of a single label.
echo.
echo This batch is designed for use with the LPRINT.EXE program. This batch
echo file performs a simple loop to allow you to print multiple copies of
echo a single label.
echo ────────────────────────────────────────────────────────────────────────────────
echo.
echo You must enter the program number and RPT filename. Example:
echo.
echo LPRINTM 1660 ACCOTING
echo.
echo Where 1660 is the program number and ACCOTING is the category filename.
echo.
echo.
echo View this batch file for more information...
echo.
echo.